Fix setCustomProperty() to respect apple namespace