add support for g++