Support ubuntu compilation.
Merge branch 'master' of bitbucket.org:jnory/dalm
modify generation codes of ini files to point the files using relative path.