Support for compilation and images under Linux (tested under Ubuntu 13.10)

Needs retest for OSX.