updates to build scripts so that they can be run from different location that CC3D source git dir