Add Matlab library from v4
Adjust CMake