fix wlink osname usage
fix linker options for rdos device driver build