Fixed undefined variable
Try to build both for 2.7 and 3.4