Replace the BP_EXAMPLE_PLUGIN_DIR by the new include dir global

This function will not be used, but temporarly editing it in order to do a step by step upgrade.