Fixed lock file in build script