Linker issue in release mode solved.