Updated isAbsolute test to be cross platform

Currently the code determines whether a path is absolute by checking that the first character is a forward slash.  Given that some people may be building dependencies on a Windows OS, I have updated the test.