revert as-needed check to ubuntu only