Fixed minor errors before building