fix a few g++ errors