Added required compile flags to demo Makefile