Adding support for static libraries. Installing main.cc shared file