Move backwardcompat package to compat module

See #1699