Fix configure not defined for all enviroments