Improvements to dev mode build process