Merge pull request #1 from aez/master

Fixes for Xcode 5 and copy constructor/destructor
Adding a few includes for happy compilation with Code::Blocks Windows GCC