Changes needed to build with lwipdemo and lwip v1.4.1