Added error checking for project compilation and lib hack to the schema
export wizard.