Fixed installation problems on OS X Yosemite

Change-Id: If3cc86abbdb3c54cc8e935be5b9b25392c601389
Reviewed-on: https://iffwww.iff.kfa-juelich.de/review/97
Reviewed-by: Josef Heinen <j.heinen@fz-juelich.de>