Tweaked release mode configuration for compiler optimizations