Compilation flags were not set to the right value due to a leftover ep_name variable