Make compilation into a shared library

No point in having a static library compiled, after all.

Signed-off-by: GreatEmerald <pastas4@gmail.com>