changed default libdir to be suitable for x86 ubuntu