Fixed build app/link to work on Windows