Fix #720 needs to compile resources.