configure: fix tests for 2-arg math functions