fix build issue with returning a local by reference, bump platform for posix modules