Moved apt installations before pip