add support for the baselib