Rename --enable-staticonly into --with-staticonly