fixed linux compile bug on Fedora Core 20