Fix build on OSX 10.9

This pull request fixes the build on OSX 10.9, which was broken because:
- `bitset` is already defined in `XcodeDefault.xctoolchain/usr/lib/c++/v1/bitset` (#12)
- `ulong` is not understood by the compiler