added buildnumber support, to increment build num automatically when compiling.