buildfix on Linux