Use uname command to detect Darwin platform
Silence the annoying "subdir-objects disabled" warning