Fix build and resources