Apple compatibility, build with cmake

Hi there, I am useing the amqp-cpp library in a cross-platform environment where it must build for osx, ios, android and linux.

I have made 2 logical edits:
1. added a CMakeLists.txt file so the project can be included as a submodule into a cmake build tree.
2. added and apple/linux compatibility header.