separate configure from install