I'm sure this is wrong

but it's the least invasive thing that got fq building on my 64-bit macbook air.  In case it isn't obvious, checking for the `LONG_LONG` definitions first is what did the trick.  My C-fu is weak, so please tell me there's a more reliable way to make this work on 64-bit OSX without breaking other platforms/architectures.