Added build of shared library to Travis

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>