added necessary libraries for linking