rename lib
fixing some compile issues