added flag for compiling vendor def files