Refactored Application;platform() and Application;build() into C w\ C++ wrapper.