remove hardcoded directories from postbuild events and support spaces in filenames

hope this helps others who would like to contribute with getting the build running faster :)