Fixed some compilation problems.h