fixed function name conflict with stdlib under ubuntu 14.04