call configure from compile