Cleared up and fixed the exported symbols of libraries