Cleanup build process to hide warnings and add support for make install and uninstall