Adjusted libraries to have less only necessary libraries.