Misc compile stuff