remove bogosity, add correct flags for AIX