Fix --orientation bug: wasn't setting attribute correctly
Compile for C++11 with make USE_CPP11=1 and with libc++ as USE_LIBCPLUSPLUS=1