Fix main makefile, update_build_tree.

Ignore return code of git_post_checkout_hook.

Use force remove of old build_tree link in git_post_checkout_hook.