Also split libdir into shared and static variants to enable installing to different locations. Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>