--config Release is put in the right place for MATLAB - in the build, not in the generate step

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>