enable project flags in case shared windows buil with cmake