Fix some little bugs related to compiling