add special handling for amazon linux bootstrap