Fixed cmakes.
Dynamic linking yeah!