Added some release optimizations for Clang/GCC.