adds --enable-native and --enable-generic