make build script works on os x if the current dir is not the kubernetes root

makes build-go.sh workable if the current dir is hack/ or any other directories