Add extra #include to support compiling on Macs. Fixes #1