MTL: upgrade to 4.0.9507.

Closes #804.