fix some compilation issues
* Fix: update audio/video information when skin is reloaded
update build scripts