Fix form image field error
Add build scripts for external image libs
Add apt-get support to build script