Remove -R flag from LDFLAGS to make Mac OSX compiler happy.