turned on optimisation in makefile