a bunch of project cleanup and build tweaks gh-58