Make it build with QNX chromium port

- Fix excludes
- Fix gyp so that it supports cross-compiling on mac as well

Change-Id: I89081f4115ec4dec6ca2c96bb5ad367d42405bb3
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>