consolidating check for if target is supposed to be built, work around incase a machine uses a shared temp directory for multiple users