set up lockfile to prevent multiple builds at once