The "Null<Int>" construct is designed to allow cross-platform abstraction to work. If your library used this, everything would work the same.
Alternatively, if the library actually wanted things to start at zero, it could do this in a cross-platform way.
But actually, I think neko could initialize the floats to 0 (or Nan I guess) and this would be pretty beneficial for everyone.
Alternatively, you could write a macro to inject initilizers on dynamic platforms for all variables along the lines of what Juraj suggests. If this proved popular, it could be lifted from a macro to a compiler function for additional speed.
Practically, you could use:
var x = Default.get( somelibraryclass.funkyVariable, 22.0 )
which might be nicer than "#if static" everywhere.
Hugh