D-Link DIR-505 support, fixes in Makefile