change fstat test for some other platform