Revert "compile with g++"

This reverts commit b329b806cd25994c7c44e77e211f8879527e2c53.