sorting out dependecies in the gemlock to fix build