Dynamic Linking support added to the buildsystem

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
Remove unecessary dependencies

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>