Travis: create build directories and compile with debug flags.