Fix target architecture detection (mainly for Windows).

TargetArch.cmake is from https://github.com/petroules/solar-cmake
This makes it possible to generate proper installer names based on the
target architecture.
Bump version to 2.3.0