Revert "add GNU/Linux specific source directory"

This reverts commit c0ba62aff23f9a81f343f1612f0ac1f3b7a9d586.
Turn layer to a class