make 'install' and 'build' tasks depend on 'build'

This patch attempts to fix issue #2121.  Cheers.