still trying to get `--enable-generic` to work