patch nvram library for new nas version (thx to Vincent Bernat)