add build option
list plugins and libraries
condition fix