Fixed build on Windows, changed target path for libraries