handling the amazon linux case a little differently