fix travis to compile examples the new way