Fix wrong build constant used in build script

Change-Id: I520028fceac3fa3c21041e474ab15b4e335c1582
Reviewed-by: Antti Kokko <antti.kokko@digia.com>