Update path_info.cpp

Fixed compilation error on Mac OS X