build-sys: do not allow --enable static