Make Quake compile on OSX

- change strnicmp with strncasecmp
- time collides with time.h