fix linking exe against matlab libs on ubuntu (once again the compiler here was overly sensitive about the order of the arguments)