ensure we have EMFLAGS when linking