reorganize gyp file. not tested on windows yet