handle verbose flag for static compilation