Adding macosx support + shader support