providers/aws: fix compile error