Added NaN definition for Linux

Change-Id: I6f41a0d09d085efc40051103b2083296c1ea4d3c
Reviewed-on: https://iffwww.iff.kfa-juelich.de/review/46
Reviewed-by: Josef Heinen <j.heinen@fz-juelich.de>