Changes to allow the project to compile under cygwin with g++ 4.8

Link against boost_system, added permissive flag to allow implicit call of inherited template functions, and explicitly included cstddef to define size_t.