standardize Makefile, only use includes and optimizations on 2.4