Build static or dynamic followind build definition