ensure the rgw lib dir is created