[ALOY-963] Allow platform specific subfolders in lib and vendor directories

I wanted to reintroduce platform specific folder in the lib and vendor directories, which was working on previous versions of alloy.