Compile error Windows PX4 Firmware v1.3.4

I’m trying to read the pixhawk IMU data in MATLAB/Simulink with the Simulink_Pixhawk_Support_v2.1 package. There are some compile error during the compilation process.
Cmake version is 3.6.0, arm-none-eabi-gcc is 4.9.3, and python is 2.7.6.
The details are follow:

File “C:/px4/Firmware/Tools/”, line 155, in
File “C:/px4/Firmware/Tools/”, line 125, in main
if not scanner.ScanDir(args.src_path, parser):
File “C:\px4\Firmware\Tools\px4params\”, line 22, in ScanDir
if not self.ScanFile(path, parser):
File “C:\px4\Firmware\Tools\px4params\”, line 37, in ScanFile
scope = re.sub(prefix, ‘’, os.path.dirname(os.path.relpath(path)))
File “c:\px4\Python27\lib\”, line 151, in sub
return _compile(pattern, flags).sub(repl, string, count)
File “c:\px4\Python27\lib\”, line 242, in _compile
raise error, v # invalid expression
sre_constants.error: bogus escape (end of line)
make[3]: *** [parameters.xml] Error 1
make[2]: *** [CMakeFiles/xml_gen.dir/all] Error 2

Anyone knows the solution, please tell me. Thanks a lot