Update apps.js

Fixed buildOptions does not pass into makePackage function.