add build options for Libs and Apps