build: fix build script to deploy on local machin.