Always define __APPLE__ but set to 0 on Linux.