Fixed the makefile and travis script to build properly with bin folder.