resolved portability issue for apache 2.4