Fix some rake errors on relative paths