clean corelib for release