Update build to work with g++/clang++ on linux.