[NEW] - add install target and change the lib to be shared