configure: some fixes