fix building on travis
use cmake 2.8.9 because cmake on Travis is too old
Merge branch 'fix/travis'

building non-shared objects as library is the feature of cmake 2.8.8 or later