Update amqp.h

Bug fixes, building with cmake & mingw on win32