Fix build process for dev env