Add m4 dir
Link math library