Fix configure permissions