Move composer download and installation to compile stage
Run composer as last step because it needs ZS in working state