Compile binaries with optimizations