Fixed linking issue to make travis succeed