get rid of compiler warnings in Graph class on Mac OS X