update flags
create include directory