Add C/LDFLAGS for FreeBSD's search paths (ugh)
Fix an out-of-range slice read when a font has no extension