Revert "build 5.0.0_r7 as 5.0.1_r7 seems to be broken"

This reverts commit 6a14e1815145d028171fc143a043092b365dae63.