fixes for darwin10, cmath: force long long returning functions to be available