Fixed couple of compilation issues.