Use gflags

Please check on your pi (I don't have a mic).