- fixed compilation depending on defines