Done with improving the build time of third-party libraries (closes #352).