sudo spctl --master-disable
That should fix it for you.
Topic:
App & System Services
SubTopic:
General
Tags: