Fixed compile issue: lockfile is now working