Fix for type issue preventing compiling in linux