if compiled for MacOS - use the Mac path separator to get the base file name - don't append .ttf if no dot in the file name