disable nonshared libs for AIX support
fix rpath