make webserver silent except in debug mode
fix osx compile