fix LinkDef compilation when BUILD_LOG is set
Merge pull request #7 from smuzaffar/master

fix LinkDef compilation when BUILD_LOG is set