fix build, make schemes shared