Update apps.js

Fixed buildOptions did not pass into makePackage function.