boost: add $(BUILD_SHARED) guards to the `mv` of DLLs

Fixes #457.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>