Pass BUILD_DEBUG or BUILD_GCOV for get_plugin_path