Fix Travis build by using require("../main") instead of require("ast-types").