Add dynamic and static build targets.
Removed erroneous reference to xpm images used before lib extracted from main app.
Fixes PAUSE not working.