Fixing bug where force build would fail to exit after building