[build] made changes to Makefiles to make the non blocking compilation optional