Fix matlab and scilab wrappers for windows