Properly handle flags in example makefile