Fixed some project configuration bugs