In the function Tokenizer::scan_real(), there is a call to exp10(). This function is unique to glibc and does not exist on OSX (and likely not on FreeBSD either, although I haven't checked).
Changing the call to exp10(x) to pow(10, x) makes it work. Regards, Elias
