Fix 3.9-RC1 builds on Travis