Included --keepflags option in create_makefile.py