fix for linux compiling