Add LDFLAGS=-lrt to make pygit2 happy