Optimizations

GCC flags to improve compiled code speed, debug flag