HRCPP-62 Generate a static library alongside the shared one