Update to limit the platforms to mac osx10.4 and linux

(cherry picked from commit 8e42b645bdb1123563c749483d09a51490198785)