Removed --enable-legacy option