Remove -O2 optimization from build scripts

Will return once there is a proper test unit suite