Add required libraries and external files