use AES extensions and c++11 when compiling