fix path to net-features.h

This was causing the %.o rule to get ignored which meant most of the
dependencies were ignored.
Once that gets fixed, we see that the %.o rule doesn't properly use
$(CPPFLAGS). So add that while we're here.
Gentoo bug 379715