Changes needed for building brightray_example on Windows

This PR contains the changes needed by brightray/brightray_example#10.