Fixes Compile errors

* missing include (because of missing include directory link in cmake)
* wrong initialization order (causes compile error on my gcc 4.8.3
  linux machine)
Merge pull request #36 from lordgeorg/compile-fix

Fixes Compile errors