fixed minor bug for some (older) PHP versions where installation of Lock Entry could fail.