Do build.mk optimisation for fast build