Fixed build rules for -nc