src/native/setup.h: Modified setup.h to automatically detect platform