osx fix, segfault fix

See developer list "[Fontforge-devel] segfault bug fix", Oct 14, 2013 for details.