Make python link its release version even in debug agros build.