added boost system for os-x compatability