Fixed compiling class extended class with namespace