Fix to detect td-agent on Mac
Swithing MacOSX or UNIX for handling td-agent process
Fix to create pidfile on Mac
Note
Merge pull request #97 from fluent/fix_td_agent_on_mac

Fix td agent on mac