Make BuildManager::instance() return a BuildManager*

Change-Id: Ifc34124e267fc55d73e122a059efe12c3d289dc1
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>