This is acceptable because of the "(at your option) any later version". We can't accept GPLv2 but we can GPLv3.