Change the compilation output path to CMAKE_BINARY_DIR/bin and /lib
Fix compilation of gen utility (and tests) under Visual Studio solution (fix #541)
Minor change in main CMakeLists.txt
Fix compilation of libcurl from a Visual Studio solution
Convert gui.xml to Unix EOLs
Add post build target to copy the whole data/ dir into build/bin/ dir