Car slams into building, driver injured