Use trigger_error() instead of die() in minimum PHP version check, closes #1387