fixing bug in usage of the switch statement, in Go the default is to break, need to fallthrough for linux to use the darwin config