We’re not working on 4.0 anymore. Active branches are 4.2, 4.3 and master (5.0, unstable). If you what to build from sources, I suggest working on the 4.3 branch of the GitHub repository.