Restore custom material in Drawable2D.
For Travis CI - switch CI build to use OS X build environment.