`APPLE` is `UNIX`, so should be 
```
if (WIN32 ..) .. elseif(APPLE) .. elseif(UNIX ...) 
```