Fix macos building issues

Not 100% confident about this solution, though the module compiles properly now.

Ref https://github.com/rlidwka/node-fann/issues/11