Updated makefile

Mostly changed to allow more optimizations ( -O9 ).
If changed back to -O1 or -O2 it will crash.