Added arch-specific compile optimizations