Add missing libraries to Travis CI and repair u_memcpy call on Ubuntu Precise