Fixing compile flags for different CPU flags