Fixed sphinx build

This solves a problem with the current master