Fixed some building issues with more picky systems. (aka windows)