add missing dependencies and library exports