updates to comply with unix standard linking convetions and add support for OSX

git-svn-id: https://roadrunnerlib.googlecode.com/svn/branches/refactor_modelgen@875 c0027639-9190-0b57-01eb-f09a03790dae
enhance cross-platformness for OSX

git-svn-id: https://roadrunnerlib.googlecode.com/svn/branches/refactor_modelgen@876 c0027639-9190-0b57-01eb-f09a03790dae
Merge branch 'refactor_modelgen_svn' of github.com:AndySomogyi/roadrunner into refactor_modelgen_svn