Remove redundant imports from project files

This also fixes warnings in debug builds