Modified build configuration

becuase AppHarbor only use Release mode to publish.