try fixing mongo extension requirement another way