Fix warnings
Add "profile" type build that provides profiling support.
Update the res submodule URL