makefile fixes

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>