Add cmdline_static examples and missing matlab_static cmake