fix build on unix and configure options questions