Improving CMake scripts

- Added use of variables for windows external libraries
- Added more debug printing
- Added TARGET_ARCH variable to make it easy to match the target we're building with the libraries we want to use.
- Added copy of dlls from appropriate folder to build directory
Application is working on windows