Should that be written?

    depends_on 'wxmac' => :optional, 'disable-monolithic'