added libnbcompat lib