use a lock file to prevent concurrent builds