fix

import legacy database modules as they're needed by the internal
header stuff :'(