Only emulate if needed

Signed-off-by: Rik Cabanier <cabanier@adobe.com>