GNU C++ compatibility patch

closing this, made a mistake