Add rootdir parameter to compiler to make it work under vendor dir