round() call adopted for gcc