bug fix:just do patch job when php version 5.2;fix os platform detect issue.