Fix exec call for non-python-2.7