we are going to support linux in 2.2 timeframe. consider rewriting this code to allow quickly adding linux platform in the future.