Snow Leopard: Fix handling platform dependent includes correctly