support builds on linux with xbuild

I've also defaulted the os to the current platform.