I haven't found any gyp variable for os version. This module will fail on Linux as there is no implementation for the notifications class. So it doesn't make any difference to break on win less than 7 with a different error.