missing includes in logical_not optimize