Fix version check as now there is no peerDependencies