add flexibility support for specifying OS dependencies
fix remark
Merge pull request #846 from boegel/flexible_os_deps

add flexibility support for specifying OS dependencies