Changed python version command

- If statement wasn't compaitible with 2.4 and older