Changed to use multi-platform lib loading form