optimize version checks
remove unneeded source files from cve-2013-6420
upstream 5.4.28