Few config/include fixes;

Adding autobuild;
Uncommenting boost config for static/dynamic library;
Adding missing include of functional to global.hpp causing missing std::greater on Apple's clang builds;