updated build to work with new build tools