set -O2 and gcc4.6 as default to avoid anti aliasing errors with -O3 optimization