Moved the import into the ifdef section.