Fix makefile warning
Add UNIX define for Linux and OS X
Rdotnet working