Support only plugin build in configure based build system

Bundled build should use CMake based build system.