Fixed compile error for g++.
Removed temp files.