corrected linking error
Corrected compilation errors