Fixes build error due to missing build module + adds nopt dependency