Tested on OS X and Linux.

Actually, I think that isn't possible. I just did some digging around in the configuration and HAVE_AQUA only get set if the host_os is some form darwin. This #if defined() can definitely go.