Fixes some random compile issues