AIX: add support for shared builds

Signed-off-by: Diego Biurrun <diego@biurrun.de>