Add build status image
Include the -lm in the right place for gcc.