Cleanup

- Added a preprocessor directive to attempt to build successfully in node 0.10. This has not been tested yet.
- Fixed compiler warning