Swap -lm and -lpthread for host libc++ users

Match the order we use in make.

Change-Id: I7959f72841bd058b13d6c8fc6efb3c78b5de9d35
1 file changed