Fixed GCC complaining about cdecl