POSIX::setlocale fails on system without locales (Android)
Check d_setlocale before calling POSIX::setlocale
Merge branch 'porting/no_locale' of https://github.com/dex4er/perl-Apache-LogFormat-Compiler