Fixed missing os import
Added lightblue support in mac os x