A bunch of compile optimizations

Conflicts:
	arch/arm/Makefile