add some additional defines for OSS API on Linux systems