move library compat to proper package