get_relative_dir may take a const & argument
fixup header to restore gcc builds