fix for c++11

Added compiler flags to comply with [documented environments](https://github.com/m8pple/arch2-2014-cw1#compilation-environment) C99, C++11.