fixing compilation issues.