fix use of CMAKE_SYSTEM_PROCESSOR
Merge pull request #719 from xantares/mingw_arch

fix use of CMAKE_SYSTEM_PROCESSOR