Fixed gcc build + updated VS projects