Add deployment target condition for workaround