Remove dependancy on com.intellij.modules.platform