Added OS-detection to make and den.R. So can just run make on any
platform.