Bracket badly included in the #if/#endif instructions under Windows.
The reason for the CTest message BAD_COMMAND with Travis-CI (see revisions b779cbe and b3b8ffd) is finally due to a too early call of the CMake function ADD_TEST. The CMake variables PYTHON_EXECUTABLE, MATLAB_EXECUTABLE, and OCTAVE_EXECUTABLE are all empty when CMake is used in a terminal as the tests are parsed before the scripts used for the bindings (which call the FIND_PACKAGE function to find Python, Matlab and Octave).
Travis-CI script updated again.