add Bitrig support
check $^O case-insensitively