Fix cmake module export.