Do not use -ldl -lm when linking the wrapper