Fix configure not defined for all enviroments v2