separate frontend and binaries' build into different stages, fix mkdir command

2 jobs for develop in 1 minute and 59 seconds (queued for 3 seconds)