fix default CXXFLAGS
update libcommon
add orienting vehicles on terrain (but with a twist); add debug output