fix chicken/egg issue with installing module and library