add a mkdir for the lib folder

Your git repo does not contain a lib folder, so the move/rename fails for me. This should take care of it. One question though: What's the purpose of all those `try` commands, if you don't catch the exceptions?