add errors in case some target defines were not set properly

- make lwip compile on any targets (not just LPC1768 and 4088)
- added erros to better detect misconfiguration of build system (missing TARGET defines)