Fix a failure of build by a locked file
Add a setup.sh script
Add a setup.bat script