#176 Fixed MATLAB support in build system