Declare system functions in a way that works with C++.