code style cleanup in amd builds