fix ld scripts on FreeBSD

another part of the regex used in MRI ffi was also missing