workaround for gcc stod/stof error

Signed-off-by: TheTesla <stefan.helmert@gmx.net>