This resolves build error if examples are compiled for multiple target configurations. When building tutorial examples, only one target is supposed to be used.