Fix compilation on latest rustc

The *T type has been removed from the language in favor of explicit *const T and *mut T, so change types as appropriate. Also, the the format of rustc -v has changed, so update rust-empty to allow TARGET to be detected properly.

Note: asio.rs and mac_core.rs have been edited, but not tested. Testing was only done on Linux.