Adjust Makefile and includes

Compile is c99 mode for 64-bit support.
Add strings.h include for strcasecmp