Update libatomic patch and makefile