Add missing libraries for standalone build.