A prepare libs fix for windows