Add #ifdef around strcasecmp define