Reverted the prepare script changes.
Separated python dependency list for Mac from Linux.