Check version before unlink.