MacOS input stub added, build fixed