Switch to trimmed libraries for travis build

and
add utf-8 to make doc
add custom build for travis