Added a static library build process for conditional linking with projects