Fixed bug with windriver and init of constants.