Only try to statically compile on Linux.