Fixed compiler warnings; fixed travis