Fix failing py 3.x builds thanks to constants generation script by removing filter call

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>