Disabled updates when using alt provider (i.e. staging)
Added define to fix linux compile issues