Made lib build less verbose if run as Travis CI build.

Travis CI limits the real time build output to 10000 lines. We need to be less verbose in the lib build to stay below that threshold.