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