Attempt to fix gcc compile error