Fix suspicious use of or operator.
Add guard for inclusion of C++11 header (close gh-4).