Fixed problems with specifying the architecture for builds in CMAKE.