- added c++ 11 flags for thread support