updated build-joydetect to remove a few warnings