Mac compile fixes (no RTMPT on Mac)

Block out some Windows proxy stuff on Mac
Change BOOL to int to prevent conflict
Some type changes