fix for timing results in MATLAB interface on Windows