Use debug_and_release_target for mixed release and build selection

It is more appropriate as it is a more abstract use case than just tightening it
to Windows.

Change-Id: I60d0ea472299b3048ad6762512d632d010366f95
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>