Add libraries for PWI function