Compile and optimize for native architecture.