import xnamath to build in windows8 environemnt.
updated for windows8.