Add arch flag to cmake for building on linux.