Add a temporary #[pkgid] to make rust master happy

Rust now uses #[pkgid] instead of the link attributes to determine the
library name. This is going to undergo modifications in a day or two,
but for now, make the library work with the current behavior.