Fix windows

This will create a rlib instead of a shared library. Since Rust supports static linking now perfectly, this should not cause any problems. If a shared library is needed somehow, `#[crate_type = "dylib"];` can be added to create both.

Using a static library for glfw-rs is needed to run the examples without copying the dlls around (Windows doesn't support rpath).