add compiler defines

(or we need iOS)