Fixed makefile to build with with newer OS code. Also added missing BCM2835 platform stuff.