Quote incoming variables for CPM_Export* functions.

Solves bugs related to exporting multiple targets or definitions.