adds platform-api to gemflie