remove optional dependencies from make file.