app: Fix Makefile source dependencies

Add/remove header files as appropriate.

Signed-off-by: Andrew Clayton <andrew@opentechlabs.co.uk>