Update allow attributes to cut down on warnings

-- uppercase_variables -> non_snake_case
-- allow(ctypes)