Add optimizations
Makefile: Make some adjustments, credits to @barome for some hints in the right direction.