fix 'undefined reference to symbol floor@@GLIBC' when linking tests