Add checks for date.timezone being set

This fix should cause the build process to fail fast when the PHP configuration being used does not correctly set date.timezone.