Move library installation file to specific folder and include library in plugins compilation.

This fixes #49.