Update Makefiles for appweb
Add getarch getos