help older versions of g++ compile this