Stopped some compiler warnings for POSIX functions with
_POSIX_C_SOURCE=200809L in main.mk.