Four-alarm fire in Brookline apartment building