lib/replace: define HAVE_WORKING_STRPTIME instead of REPLACE_STRPTIME