Fixes some compilation stuff.