Use GNU stat (as determined by OpenWRT) for GLUON_CONFIG_VERSION

This *should* fix the build on non-Linux systems like MacOS X.