Fixes compilation issues.