Added math library flag for compiling on Linux