make build the right library
fix compiling the right gsensor