Change directory before checking branch
Extended python version
Copy proper lib for the current python version