HRCPP-62 Generate a static library alongside the shared one

https://issues.jboss.org/browse/HRCPP-62