Compile compatibility fix