Use getcwd()
Fix vc build files