Allow disabling debug and zts for master, src and 7