add missing definition for compiling standalone apps on linux