make output modules optional dependencies