Fixed compilation errors that occur when SLICE_ALT is set to 0.