support shared resoure as far as discovery goes

also correctly handles symlinks without infinite loops
fix bug in rebuild rule of makefile
fix bug in release override test suite