use protocol-relative URL to load library, fix #32