Make sure that we remove the main object file too

closes #4186 
@dschwen - this should fix the issue you were reporting.