Removed stdio.h etc.
Rollbacked platform.mk
MacOSX - defined _DARWIN_C_SOURCE in auto_dep.mk to fix unistd.h error: operator '||' has no right operand