Add NetBSD to os.ini. Fall back to uname -r if version can't be detected from preprocessor macros.