Fixed explicit coercion of ctypedef'ed C types.