Restructures library for Travis CI builds