Correct roundint() function definition for Mac OSX