Fixed #324 - Do not link $libs to static dmd-built libs