Build raptor2 shared or static
Build static and dynamic