imprint: Fix backwards compatibility issues with older php version (<5.4).