update mac scripts to not cd around
resolving paths in build, fix clean
resolve project.json for target
Update windows *.bat to not change directory
fix redundant paths in bash scripts