allow compile in subdirectories
Merge pull request #2 from willmoss/master

allow compile in subdirectories