Adding missing OS X  makefile for console app
Adding missing EXTRA_CFLAGS in Makefile
ADP discovery timeout now uses valid_time

Previously was hard coded to the maximum timeout