- added proper check for C++11 support
- pkg-config generation: added libdir to the linker flags