rm binary files, fix building errors on Linux