Fix build error

Add a build of the library to travis to prevent regressions.