cleaned up build process, removed a few warnings