Move resources.[ch] to build/