fixes #21 - fix dependency version checking