added new utility library lib-which-port.