Fixed export directive for Optimus workaround.