Fixed makefile so optimized compilation is used.