Update Makefile.am

add -lm to fiw error when compiling with uclibc