Build modules with -O2 optimization instead of -Ofast