Tweaks by Robert Osfield - Moved methods to FileNameUtils, added unix implementation of getRealPath add extern and OSGDB_EXPORT to function declarations.