Added features.h for strptime.

Need #define _XOPEN_SOURCE and features in order to use strptime